﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yes.Application.Category.Dto;
using Yes.Domain.Entity;

namespace Yes.Application.Category
{
    public interface ICategoryService : IBaseService
    {
        List<CategoryEntity> GetCategoryList();

        CategoryEntity GetCategory(int id);

        ResultDto AddCategory(CategoryAddDto dto);

        ResultDto DeleteCategory(List<int> ids);

        ResultDto UpdateOrder(List<int> ids, List<int> sortids);
    }
}
